package com.yyl.jni;

import android.util.Log;

public class MyVideo {

    static {
        System.loadLibrary("myVideo");
//        System.loadLibrary("yylffmpeg");
        System.loadLibrary("avcodec-57");
        System.loadLibrary("avdevice-57");
        System.loadLibrary("avfilter-6");
        System.loadLibrary("avformat-57");
        System.loadLibrary("avutil-55");
        System.loadLibrary("postproc-54");
        System.loadLibrary("swresample-2");
        System.loadLibrary("swscale-4");

    }



    public native String getVersion();

    public native int setFFmpeg();

    public native void testPthread();


    public native void playPCM(String path);

    public void onCallBackPrint(String msg) {
        Log.i("MyVideo", "msg=" + msg);
    }
}
